﻿<local:baseParametersPage x:Class="USMC.Net.powerParametersPage" 
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:local="clr-namespace:USMC.Net"
      mc:Ignorable="d" 
	Title="powerParametersPage">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Label Grid.Column="1" Grid.Row="0" HorizontalAlignment="Center">X</Label>
        <Label Grid.Column="2" Grid.Row="0" HorizontalAlignment="Center">Y</Label>
        <TextBlock Grid.Column="0" Grid.Row="1" TextWrapping="Wrap" ClipToBounds="True">Снижение энергопотребления в простое</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="2" TextWrapping="Wrap">Задержка снижения энергопотребления, мс</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="3" TextWrapping="Wrap">Выключить при остановке</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="4" TextWrapping="Wrap">Задержка отключения, с</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="5" TextWrapping="Wrap">Дойти до целого шага перед отключением</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="6" TextWrapping="Wrap">Максимальная температура</TextBlock>
        
        <CheckBox Name="xCurrRedCheckBox" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        <TextBox Width="60" Name="xCurrDelayTextBox" Grid.Column="1" Grid.Row="2" KeyDown="TextBox_KeyDown" VerticalAlignment="Top"/>
        <CheckBox Name="xPowerOffCheckBox" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="2" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
        <TextBox Width="60" Name="xPowerOffDelayTextBox" Grid.Column="1" Grid.Row="4" Grid.ColumnSpan="2" KeyDown="TextBox_KeyDown" VerticalAlignment="Center"/>
        <CheckBox Name="xPowerOffModeCheckBox" Grid.Column="1" Grid.Row="5" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
        <CheckBox Name="yCurrRedCheckBox" Grid.Column="2" Grid.Row="1" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
        <TextBox Width="60" Name="yCurrDelayTextBox" Grid.Column="2" Grid.Row="2" KeyDown="TextBox_KeyDown" VerticalAlignment="Center"/>
        <CheckBox Name="yPowerOffModeCheckBox" Grid.Column="2" Grid.Row="5" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
        <TextBox Width="60" Name="xTerPowerOffDelayTextBox" Grid.Column="1" Grid.Row="6" KeyDown="TextBox_KeyDown" VerticalAlignment="Center"/>
        <TextBox Width="60" Name="yTerPowerOffDelayTextBox" Grid.Column="2" Grid.Row="6" KeyDown="TextBox_KeyDown" VerticalAlignment="Center"/>
    </Grid>
</local:baseParametersPage>
